package com.aceitunaproject.shared.message.concrete;

/**
 * @author Federico Bergstein
 * 
 * Abstract Superclass for action requests, all action requests point to a Game Element
 * 
 */
public abstract class ActionRequest extends BaseMessage {

	private static final long serialVersionUID = 5690980258471097424L;
	private Long elementId;

	public ActionRequest(String type) {
		super(type);
	}
	
	/**
	 * @return the ID of the game element that has to execute the action
	 */
	public long getElementId() {
		
		return elementId;
	}

	/**
	 * @param id of the game element that has to execute the action
	 */
	public void setElement(long elementId) {
		this.elementId = elementId;
	}

}
